var encoding/json.textMarshalerType
5 uses
encoding/json (current package)
encode.go#L416: textMarshalerType = reflect.TypeFor[encoding.TextMarshaler]()
encode.go#L432: if t.Kind() != reflect.Pointer && allowAddr && reflect.PointerTo(t).Implements(textMarshalerType) {
encode.go#L435: if t.Implements(textMarshalerType) {
encode.go#L827: if !t.Key().Implements(textMarshalerType) {
encode.go#L882: if !p.Implements(marshalerType) && !p.Implements(textMarshalerType) {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)